package com.tanhua.dubbo.api;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tanhua.dubbo.pojo.BlackList;

public interface BlackListApi {
    /**
     * 分页查询黑名单
     * @param userId
     * @param page
     * @param pageSize
     * @return
     */
    IPage<BlackList> queryBlacklist(Long userId, Integer page, Integer pageSize);

    /**
     *删除黑名单
     * @param userId
     * @param blackUserId
     * @return
     */
     Boolean delBlacklist(Long userId, Long blackUserId);
}
